#include<vector>
using namespace std;

using Graph = vector<vector<vector<int>>>;

struct Trace {
	int p1, p2, p3;
	int edge1, edge2;
};


void getAllTrace(const Graph&graph,vector<Trace>& traces) {
	for()
}
